using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace LinqHelper.Entity
{
	[Table(Name = "Category")]
	public class LqCategoryEntity
	{
		Guid _Id;
		
		[Column(DbType = "uniqueidentifier NOT NULL", IsPrimaryKey = true)]
        public Guid Id
        {
            set
            {
                _Id = value;
            }
            get
            {
                return _Id;
            }
        }
        
		string _CatId;
		
		[Column(DbType = "varchar(256) NOT NULL", IsPrimaryKey = false)]
        public string CatId
        {
            set
            {
                _CatId = value;
            }
            get
            {
                return _CatId;
            }
        }
        
		string _CategoryName;
		
		[Column(DbType = "nvarchar(256) NOT NULL", IsPrimaryKey = false)]
        public string CategoryName
        {
            set
            {
                _CategoryName = value;
            }
            get
            {
                return _CategoryName;
            }
        }
        
		DateTime _CreatedDate;
		
		[Column(DbType = "datetime NOT NULL", IsPrimaryKey = false)]
        public DateTime CreatedDate
        {
            set
            {
                _CreatedDate = value;
            }
            get
            {
                return _CreatedDate;
            }
        }
        
		string _MenuId;
		
		[Column(DbType = "varchar(10) NOT NULL", IsPrimaryKey = false)]
        public string MenuId
        {
            set
            {
                _MenuId = value;
            }
            get
            {
                return _MenuId;
            }
        }
        
		int _OrderIndex;
		
		[Column(DbType = "int NOT NULL", IsPrimaryKey = false)]
        public int OrderIndex
        {
            set
            {
                _OrderIndex = value;
            }
            get
            {
                return _OrderIndex;
            }
        }
        
	}
}
